package com.mjh.partners.mapper;


import java.util.List;

import com.mjh.partners.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface UserMapper {
  public User LoginCheck(@Param("userid") int userid, @Param("userpwd") String userpwd);
  public boolean ChangeHead(User user);
  public User getPartners(int userid);
  public List<User> getPartnersNoMe(int userid);
  public User CheckUserid(int userid);
  public boolean registerUser(User user);
  public boolean updateUser(User user);
}
